package com.cysyz.mylib.dao.engine;

import java.util.List;

public interface Query {
    @SuppressWarnings("rawtypes")
    List getResultList();

    void setCacheAble(boolean isCacheAble);

    Query setFirstResult(int firstResult);

    Query setMaxResults(int maxresult);

    void setParameter(Integer placeHolder, Object value);

    void setParameter(String placeHolder, Object value);

    Object getSingleResult();

    int execute();

}